package com.project.log4j;

import org.apache.log4j.Logger;

public class Log4jTest {
    private Logger logger = Logger.getLogger(Log4jTest.class);
    public Log4jTest(){
        logger.debug("debug");
        logger.info("info");
        logger.warn("warn");
        logger.error("error");
        logger.fatal("fatal");
    }

    public static void main(String[] args) {
        new Log4jTest();
    }
}
